<?php
namespace Home\Controller\Rules;
use Think\Controller;

class IndexController extends Controller
{

    public function index()
    {
        if($username = cookie('username') && $pwd = cookie('pwd')){
        	echo "Rules";
        	die;
        }
        return redirect('/drm/');
    }
}
